﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.Security;
using CodeMatrix.Utilities;

public partial class AjaxShowCase_Default3 : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    protected void Button1_Click(object sender, EventArgs e)
    {
        bl.Items.Clear();
        Guid[] cUserId = UiHelper.GetSelectedCheckbox<Guid>(GridView1, "cbItem", "UserId");
        Array.ForEach<Guid>(cUserId, delegate(Guid f) {
            bl.Items.Add(f.ToString());
        });

    }
}
